package cn.iocoder.yudao.module.cmt.controller.admin.base.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;

@Schema(description = "管理后台 - 商户入驻申请 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BaseMerchantApplyRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "社区ID", example = "1")
    @ExcelProperty("社区ID")
    private Long communityId;

    @Schema(description = "申请会员ID", example = "1")
    @ExcelProperty("申请会员ID")
    private Long userId;

    @Schema(description = "商户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "XX服务公司")
    @ExcelProperty("商户名称")
    private String name;

    @Schema(description = "商户类型：1企业 2机构 3社会组织 4个体", example = "1")
    @ExcelProperty("商户类型")
    private Integer merchantType;

    @Schema(description = "营业执照", example = "https://www.iocoder.cn/license.png")
    private String businessLicense;

    @Schema(description = "营业执照号", example = "91110000XXXXXXXXXX")
    @ExcelProperty("营业执照号")
    private String licenseNo;

    @Schema(description = "法人代表", example = "张三")
    @ExcelProperty("法人代表")
    private String legalPerson;

    @Schema(description = "联系人", example = "李四")
    @ExcelProperty("联系人")
    private String contactPerson;

    @Schema(description = "联系电话", example = "13800138000")
    @ExcelProperty("联系电话")
    private String contactPhone;

    @Schema(description = "详细地址", example = "科技园XX路XX号")
    @ExcelProperty("详细地址")
    private String address;

    @Schema(description = "商户简介", example = "专业提供社区服务")
    private String introduction;

    @Schema(description = "服务范围", example = "全市范围")
    @ExcelProperty("服务范围")
    private String serviceScope;

    @Schema(description = "审核状态：0待审核 1通过 2拒绝", example = "0")
    @ExcelProperty(value = "审核状态", converter = cn.iocoder.yudao.framework.excel.core.convert.DictConvert.class)
    @cn.iocoder.yudao.framework.excel.core.annotations.DictFormat("cmt_audit_status")
    private Integer auditStatus;

    @Schema(description = "审核人ID", example = "1")
    private Long auditUserId;

    @Schema(description = "审核时间")
    @ExcelProperty("审核时间")
    private LocalDateTime auditTime;

    @Schema(description = "审核备注", example = "审核通过")
    private String auditRemark;

    @Schema(description = "审核通过后生成的商户ID", example = "1")
    private Long merchantId;

    @Schema(description = "状态：0停用 1启用", example = "1")
    @ExcelProperty(value = "状态", converter = cn.iocoder.yudao.framework.excel.core.convert.DictConvert.class)
    @cn.iocoder.yudao.framework.excel.core.annotations.DictFormat("common_status")
    private Integer status;

    @Schema(description = "备注", example = "备注信息")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
